/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.atm.service;

import java.util.List;
import javax.ejb.Local;
import org.atm.domain.Client;

/**
 *
 * @author cj
 */
@Local
public interface ClientService {
    public void persist(Client client);

    public List<Client> getAll();

    public List<Client> getAllNew();

    public void approveClient(Client client) throws Exception;

    public void rejectClient(Client client);

    public Client getById(int clientId);
    
    public Client getByATMCardNumber(String cardNumber);
}
